ConditionalAddToCart\Front S

Total Complexity 40
Dependencies 6
Dependents 1
Total lines 326
Lines of code 246
Logical lines of code 111
Comment lines 22
Methods 11
Properties 1

Methods 11

Method Rating Maintainability Complexity Lines of code
applyConditions()
B
33 10 138
parse_html()
A
42 11 50
defineHooks()
S
59 4 15
is_frontend_ajax()
S
64 4 10
is_frontend()
S
68 3 9
instance()
S
71 2 6
maybe_process_buffer()
S
76 2 4
run()
S
83 1 3
maybe_capture_buffer()
S
80 1 3
changeAddToCartButtonText()
S
75 1 4
replaceAddToCartButton()
S
75 1 4